@include comp(cms-component-editor) {
  position: relative;
  display: inline-flex;
  user-select: none;

  .cms-component-editor-cover {
    position: absolute;
    inset: 0;
    background-color: rgba(black, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all ease 300ms;
  }
  &:not(.cms-component-editor-disabled) {
    &:hover {
      .cms-component-editor-cover {
        opacity: 1;
        pointer-events: auto;
      }
    }
  }
}
